<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>创建退货入库</title>
  
  </head>
  
  <body>
  <section class="content">
   	<div class="row">
	<div class="col-md-12">
			<div class="box box-solid box-primary" >
				<div class="box-header">
					<h3 class="box-title">退货入库信息</h3>
				</div>
				<div class="box-body">
    <form id="" action="${ctx}/v2/returnGood/${action}" method="post" class="form-horizontal">
    	
    			<input type="hidden" id="id" value="${returngood.id}" name="id" />
    		<div class="form-group">
			    	<label for="function_showname" class="col-sm-3 control-label">原快递单号：</label>
    			<div class="col-sm-4">
					<input type="text" id="rg_oldExpress" name="oldExpress"  value="${returngood.oldExpress}" class="form-control" />
    			</div>
    		</div>
			<div class="form-group">
		    			<label for="function_showname" class="col-sm-3 control-label">退货快递单号：</label>
    				<div class="col-sm-4">
						<input type="text" id="rg_returnExpress" name="returnExpress"  value="${returngood.returnExpress}" class="form-control" />
    				</div>
    		</div>
    		<div class="form-group">
		    			<label for="function_showname" class="col-sm-3 control-label">SKU：</label>
    			<div class="col-sm-4">
					<input type="text" id="rg_sku" name="sku"  value="${returngood.sku}" class="form-control" />
    			</div>
    		</div>
			<div class="form-group">
		    			<label for="function_showname" class="col-sm-3 control-label">来源订单号/原始单号：</label>
				<div class="col-sm-4">
					<input type="text" id="rg_oldOrderNo" name="oldOrderNo"  value="${returngood.oldOrderNo}" class="form-control" />
				</div>
				</div>
			<div class="modal-footer bg-gray">
		    			<c:if test="${status eq 0}">
		    			<input id="submit_btn" class="btn btn-info" type="submit" value="创建"/>
						</c:if>	
						<c:if test="${status eq 1}">
		    			<input id="submit_btn" class="btn btn-info " type="submit" value="修改"/>
						</c:if>
						<input id="cancel_btn" class="btn btn-info " type="button" value="返回" onclick="history.back()"/>
			</div>
    </form>
    </div>
    </div>
    </div>
    </div>
 </section>
  </body>
</html>
